package com.ruoyi.bussiness.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站点对象 pub_station
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class PubStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String name;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 站位走向 (上行和下行) */
    @Excel(name = "站位走向 (上行和下行)")
    private Long direction;

    /** 候车厅个数 (1-6) */
    @Excel(name = "候车厅个数 (1-6)")
    private Long numberOfWaitingHall;

    /** 站牌类型 (铁站牌/灯箱站牌/电子站牌/一体化站牌) */
    @Excel(name = "站牌类型 (铁站牌/灯箱站牌/电子站牌/一体化站牌)")
    private Long stopBoardType;

    /** 是否有无护栏 */
    @Excel(name = "是否有无护栏")
    private Integer guardBar;

    /** 审批状态 */
    private Long approvalState;

    /** 审批时间 */
    private Date approvalDate;

    /** 审批人ID */
    private Long approvalPersonId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setDirection(Long direction) 
    {
        this.direction = direction;
    }

    public Long getDirection() 
    {
        return direction;
    }
    public void setNumberOfWaitingHall(Long numberOfWaitingHall) 
    {
        this.numberOfWaitingHall = numberOfWaitingHall;
    }

    public Long getNumberOfWaitingHall() 
    {
        return numberOfWaitingHall;
    }
    public void setStopBoardType(Long stopBoardType) 
    {
        this.stopBoardType = stopBoardType;
    }

    public Long getStopBoardType() 
    {
        return stopBoardType;
    }
    public void setGuardBar(Integer guardBar) 
    {
        this.guardBar = guardBar;
    }

    public Integer getGuardBar() 
    {
        return guardBar;
    }
    public void setApprovalState(Long approvalState) 
    {
        this.approvalState = approvalState;
    }

    public Long getApprovalState() 
    {
        return approvalState;
    }
    public void setApprovalDate(Date approvalDate) 
    {
        this.approvalDate = approvalDate;
    }

    public Date getApprovalDate() 
    {
        return approvalDate;
    }
    public void setApprovalPersonId(Long approvalPersonId) 
    {
        this.approvalPersonId = approvalPersonId;
    }

    public Long getApprovalPersonId() 
    {
        return approvalPersonId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("direction", getDirection())
            .append("numberOfWaitingHall", getNumberOfWaitingHall())
            .append("stopBoardType", getStopBoardType())
            .append("guardBar", getGuardBar())
            .append("approvalState", getApprovalState())
            .append("approvalDate", getApprovalDate())
            .append("approvalPersonId", getApprovalPersonId())
            .toString();
    }
}
